package com.gsafety.wellsfort.dao.push;

import com.gsafety.wellsfort.domain.model.pushRecord.PushInfoRecord;
import com.gsafety.wellsfort.domain.model.pushRecord.PushInfoRecordWithBLOBs;

import java.util.List;

public interface PushInfoRecordDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(PushInfoRecord record);

    int insertSelective(PushInfoRecordWithBLOBs record);

    PushInfoRecordWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PushInfoRecordWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(PushInfoRecordWithBLOBs record);

    int updateByPrimaryKey(PushInfoRecord record);

    List<PushInfoRecord>getAll(Integer userId);
}